Conversation
sgugger
left a comment
There was a problem hiding this comment.
Could you explain a bit more why we need to remove this line? Thanks!
|
This line what something I added in my previous PR thinking that we forgot to tie the weights. But I guess it was done intentionally as I see that one test failed and generated garbage value. Here the error that we get from the test:
|
|
The documentation is not available anymore as the PR was closed or merged. |
sgugger
left a comment
There was a problem hiding this comment.
Seems very weird that this changes anything one way or the other but let.s go.
|
BTW, let's make the PR title a bit more precise, sth like |
|
Yeah, I will explore a little bit more why we have this weird behavior before merging. |
What does this PR do ?
Fixes the following test from my old PR Add check for tied parameters (#24029):
RUN_SLOW=1 python3 -m pytest -v tests/models/marian/test_modeling_marian.py::TestMarian_FI_EN_V2::test_batch_generation_en_fr